import java.lang.reflect.*;

public class Sample {
    public static void main(String args[]) {
        try {
            Class c = Class.forName("java.sql.Connection");
            Method m[] = c.getDeclaredMethods();
            for (int i = 0; i < 6; i++) {
                System.out.println(m[i].toString());
            }
        }
        catch (Throwable e) {
            System.err.println(e);
        }
    }
}

